package org.uranus.webauth.fido.uranus;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;


@Configuration
public class UranusMvcConfig implements WebMvcConfigurer {

	
	public static int port;
	
	public static String origin;
	
	@Value("${server.port}")
	private void  setPort(int port) {
		UranusMvcConfig.port = port;
	}
	
	@Value("${minos.fido.origin}")
	private void  setOrigin(String origin) {
		UranusMvcConfig.origin = origin;
	}
	

}
